/**
 * "Visual Paradigm: DO NOT MODIFY THIS FILE!"
 * 
 * This is an automatic generated file. It will be regenerated every time 
 * you generate persistence class.
 * 
 * Modifying its content may cause the program not work, or your work may lost.
 */

/**
 * Licensee: patricio caceres
 * License Type: Evaluation
 */
package orm;

public class Tan_anotador {
	public Tan_anotador() {
	}
	
	private java.util.Set this_getSet (int key) {
		if (key == orm.ORMConstants.KEY_TAN_ANOTADOR_TAN_ANOTACION) {
			return ORM_tan_anotacion;
		}
		
		return null;
	}
	
	org.orm.util.ORMAdapter _ormAdapter = new org.orm.util.AbstractORMAdapter() {
		public java.util.Set getSet(int key) {
			return this_getSet(key);
		}
		
	};
	
	private int an_id_rut;
	
	private String an_nombre;
	
	private java.util.Set ORM_tan_anotacion = new java.util.HashSet();
	
	private void setAn_id_rut(int value) {
		this.an_id_rut = value;
	}
	
	public int getAn_id_rut() {
		return an_id_rut;
	}
	
	public int getORMID() {
		return getAn_id_rut();
	}
	
	public void setAn_nombre(String value) {
		this.an_nombre = value;
	}
	
	public String getAn_nombre() {
		return an_nombre;
	}
	
	private void setORM_Tan_anotacion(java.util.Set value) {
		this.ORM_tan_anotacion = value;
	}
	
	private java.util.Set getORM_Tan_anotacion() {
		return ORM_tan_anotacion;
	}
	
	public final orm.Tan_anotacionSetCollection tan_anotacion = new orm.Tan_anotacionSetCollection(this, _ormAdapter, orm.ORMConstants.KEY_TAN_ANOTADOR_TAN_ANOTACION, orm.ORMConstants.KEY_TAN_ANOTACION_TAN_ANOTADORPR_ID_RUT, orm.ORMConstants.KEY_MUL_ONE_TO_MANY);
	
	public int getPr_id_rut() {
		//TODO: Implement Method
		throw new UnsupportedOperationException();
	}
	
	public void setPr_id_rut(int pr_id_rut) {
		//TODO: Implement Method
		throw new UnsupportedOperationException();
	}
	
	public String getPr_nombre() {
		//TODO: Implement Method
		throw new UnsupportedOperationException();
	}
	
	public void setPr_nombre(String pr_nombre) {
		//TODO: Implement Method
		throw new UnsupportedOperationException();
	}
	
	public String toString() {
		return String.valueOf(getAn_id_rut());
	}
	
}
